package priv.mill.homework03;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class Cirlfriend {
	@Autowired
	private Villa villa;

	public Cirlfriend() {

	}

	public Cirlfriend(Villa villa) {
		this.villa = villa;
	}

	public Villa getVilla() {
		return villa;
	}

	public void setVilla(Villa villa) {
		this.villa = villa;
	}

	@Override
	public String toString() {
		return "Cirlfriend [villa=" + villa + "]";
	}
	
}
